import { NestFactory } from '@nestjs/core';
import { ScheduleModule } from './schedule.module';

async function bootstrap() {
  await NestFactory.createApplicationContext(ScheduleModule);
  console.log(`------------ 定时任务 start---------------`)
  const date = new Date()
  console.log(date.toLocaleDateString() + ' ' + date.toLocaleTimeString())

  //await app.listen(3000);
}
bootstrap();
